package cn.platform.service;

import cn.platform.entity.Teacher;
import cn.platform.request.*;
import cn.platform.response.PageResult;
import cn.platform.response.UserParentVO;
import cn.platform.response.UserStudentVO;
import cn.platform.response.UserTeacherVO;

import java.util.List;

public interface UserService {
    PageResult<UserTeacherVO> pageTeacher(UserTeacherQueryDTO userTeacherQueryDTO);

    void saveTeacher(Teacher teacher);

    UserTeacherVO getTeacherInfo(Integer id);

    void updateTeacher(Teacher teacher);

    void deleteTeacherById(Integer id);

    void batchDeleteTeacherById(List<Integer> ids);

    PageResult<UserStudentVO> pageStudent(UserStudentQueryDTO userStudentQueryDTO);

    void saveStudent(UserStudentDTO userStudentDTO);

    void updateStudent(UserStudentDTO userStudentDTO);

    void deleteStudent(Integer id);

    void batchDeleteStudentById(List<Integer> ids);

    PageResult<UserParentVO> pageParent(UserParentQueryDTO queryDTO);

    String getStudentNameById(Integer studentId);

    void saveParent(UserParentDTO userParentDTO);

    void updateParent(UserParentDTO userParentDTO);

    void deleteParent(Integer id);

    void batchDeleteParentById(List<Integer> ids);
}
